package com.tradeplus.consumer.service;

import java.util.List;

import com.tradeplus.admin.dao.CityDao;
import com.tradeplus.admin.dao.CountryDao;
import com.tradeplus.admin.dao.StateDao;
import com.tradeplus.admin.model.City;
import com.tradeplus.admin.model.Country;
import com.tradeplus.admin.model.State;

public class ConsumerServiceImpl implements ConsumerService {

	private CountryDao countryDao;
	private StateDao stateDao;
	private CityDao cityDao;
	
	
	public void setCountryDao(CountryDao countryDao) {
		this.countryDao = countryDao;
	}
	

	public void setStateDao(StateDao stateDao) {
		this.stateDao = stateDao;
	}


	public void setCityDao(CityDao cityDao) {
		this.cityDao = cityDao;
	}



	@Override
	public List<Country> loadCountry() {
		return countryDao.loadCountry();
	}


	@Override
	public List<State> loadState() {
		return stateDao.loadState();
	}


	@Override
	public List<City> loadCity() {
		return cityDao.loadCity();
	}

}
